#include "ObjectReal.hpp"
#include "Object.hpp"

namespace Pdf
{
    Real::Real()
        : value(0)
    {
    }

    Real::Real(Object const & object)
        : value(object.getReal())
    {
    }

    Real::operator double() const
    {
        return value;
    }
}